<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            /* scrollbar-3dlight-color: #fff;
            scrollbar-highlight-color: #fff;
            scrollbar-arrow-color: #fff;
            scrollbar-shadow-color: #fff;
            scrollbar-darkshadow-color: #fff;
            scrollbar-base-color: #fff;
            scrollbar-track-color: #fff; */
        }
        
        div {
            width: 300px;
            height: 200px;
            overflow-y: hidden;
        }
        
        ul {
            width: 100%;
            height: 100%;
            border: 2px solid red;
            float: left;
            display: flex;
        }
        /* div::-webkit-scrollbar {
            display: none;
        } */
        
        li {
            margin: 0;
            padding: 0;
            list-style: none;
            white-space: nowrap;
        }
    </style>
</head>

<body>
    <div>
        <ul>
            <li>hello world</li>
            <li>hello world</li>
            <li>hello world</li>
            <li>hello world</li>
            <li>hello world</li>
            <li>hello world</li>
            <li>hello world</li>
            <li>hello world</li>
            <li>hello world</li>
        </ul>
    </div>
</body>

</html>